package com.cherrypt.api.model.dataobject;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;

@Getter
@Setter
@ToString
@TableName("t_notice")
public class Notice implements Serializable {

    private static final long serialVersionUID = 8268497119036660091L;

    @TableId(type = IdType.AUTO)
    private Integer id;

    private String title;

    private String message;

    private Boolean isShow;

    @TableField(fill = FieldFill.INSERT)
    private Long created;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Long modify;
}
